package com.keensense.vcm.model;

import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 * @author lanjian
 * @date 2020/5/13 1:52 下午
 */
@XmlRootElement(name = "request")
public class ManualCreateProfileRequest {
    /**
     * 添加人员关联的档案库Id
     */
    @XmlElement
    private String aId;

    @XmlElement
    private String libraryId;

    /**
     * 人员信息
     */
    @XmlElement
    private List<People> peoples;

    private ManualCreateProfileRequest() {}

    public ManualCreateProfileRequest(String libraryId, List<People> peoples) {
        this.peoples = peoples;
        this.libraryId = libraryId;
    }

    @XmlTransient
    public String getaId() {
        return aId;
    }

    public void setaId(String aId) {
        this.aId = aId;
    }

    @XmlTransient
    public List<People> getPeoples() {
        return peoples;
    }

    public void setPeoples(List<People> peoples) {
        this.peoples = peoples;
    }

    @XmlTransient
    public String getLibraryId() {
        return libraryId;
    }

    public void setLibraryId(String libraryId) {
        this.libraryId = libraryId;
    }

}
